package loengud.kaheksa;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class LayoutDemo extends JFrame {
	
	public LayoutDemo() {
		JPanel panel = new JPanel();
		panel.setLayout(new BorderLayout());
		
		JLabel label = new JLabel("jouborderlayout");
		
		panel.add(label, BorderLayout.SOUTH);
		add(panel);
	}
	
	public static void main(String[] args) {
		LayoutDemo demo = new LayoutDemo();
//		demo.nimi = "lkdjaslkdjsa";

		demo.setVisible(true);
	}
}
